import request from '@/utils/request';

// 各省（直辖市）抽样调查点数量统计
export function getSurveyPointCount(query) {
    return request({
      url: '/ypg/getSurveyPointCount',
      method: 'get',
      params:query
    });
  }

// 各省覆盖率
export function getVillageCoverage(query) {
  return request({
    url: '/ypg/getVillageCoverage',
    method: 'get',
    params:query
  });
}

// 县覆盖率
export function getProvinceVillageCov(query) {
  return request({
    url: '/ypg/getProvinceVillageCov',
    method: 'get',
    params:query
  });
}

// 抽样调查点所在地区统计
export function getSurveyPointLocality(query) {
  return request({
    url: '/ypg/getSurveyPointLocality',
    method: 'get',
    params:query
  });
}

// 抽样调查点采集情况统计
export function getSurveyPointSituation(query) {
  return request({
    url: '/ypg/getSurveyPointSituation',
    method: 'get',
    params:query
  });
}

// 各省（直辖市）已提交房屋数量统计
export function getProHouseNumCount(query) {
  return request({
    url: '/ypg/getProHouseNumCount',
    method: 'get',
    params:query
  });
}

// 各省（直辖市）已提交房屋数量统计
export function getProHouseNumCount1(query) {
  return request({
    url: '/ypg/getProHouseNumCount',
    method: 'get',
    params:query
  });
}

// 房屋建筑物结构类型统计
export function getHouseTypeCount(query) {
  return request({
    url: '/ypg/getHouseTypeCount',
    method: 'get',
    params:query
  });
}

// 房屋建筑物单体采集情况
export function getBuildMonomerCount(query) {
  return request({
    url: '/ypg/getBuildMonomerCount',
    method: 'get',
    params:query
  });
}


// 灾害风险点
// 各省（直辖市）灾害风险点统计
export function getDamagePointCount(query) {
  return request({
    url: '/ypg/getDamagePointCount',
    method: 'get',
    params:query
  });
}

// 灾害风险点统计
export function getDamagePointTypeCount(query) {
  return request({
    url: '/ypg/getDamagePointTypeCount',
    method: 'get',
    params:query
  });
}

// 灾害风险点采集情况
export function getDamagePointSituationCount(query) {
  return request({
    url: '/ypg/getDamagePointSituationCount',
    method: 'get',
    params:query
  });
}

// 各省覆盖率
export function getProvinceCoverage(query) {
  return request({
    url: '/ypg/getYpgProvinceCoverageVO',
    method: 'get',
    params:query
  });
}

// 县覆盖率
export function getCountyCoverage(query) {
  return request({
    url: '/ypg/getcountyCoverage',
    method: 'get',
    params:query
  });
}